package org.csu.mypetstore.api.service;


import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.vo.AccountVO;
import org.csu.mypetstore.api.vo.ItemVO;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpSession;

public interface AccountService {
    CommonResponse<AccountVO> getAccount(String username, String password);

    CommonResponse<AccountVO> getAccount(String username);

    CommonResponse<AccountVO> getUserDetails(String username);

    CommonResponse<AccountVO> getUpdataPassword(String username, String password);

    CommonResponse<AccountVO> getUpdataUserAll(String username, String password);

    CommonResponse<AccountVO> getUpdataUserAll(AccountVO accountVO);

    CommonResponse<AccountVO> getRegister(AccountVO accountVO);
}
